﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Privosoft.DataFrame
{
    public class ImportStatsInfo
    {
        public int SrcRowsCount        { get; internal set; }
        //public int RowsImportedCount   { get; internal set; }
        //public int RowsFailedCount     { get; internal set; }
        //public int RowsWarnCount       { get; internal set; }
        public int DataFrameId         { get; internal set; }
        public IList<ErrorInfo> Errors { get; internal set; }

        public ImportStatsInfo()
        {
            Errors = new List<ErrorInfo>();
        }
        public ImportStatsInfo(int dfId, int src/*, int imported, int failed, int warn*/) : this()
        {
            DataFrameId = dfId;
            SrcRowsCount = src;
            //RowsImportedCount = imported;
            //RowsFailedCount = failed;
            //RowsWarnCount = warn;
        }
    }
}
